const { connect } = require('../src/db');
const mongoose = require('mongoose');
const { defaultCharacters } = require('../src/project.config');
const CharacterModel = mongoose.model('Character');
connect().then(async () => {
  await CharacterModel.insertMany(defaultCharacters);
  console.log('角色初始化完成');
});
console.log(defaultCharacters);
